home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jurassic Jigsaws
/
JURASSIC.BIN
/
gstwndem.dir
/
00043_Script_movie script
< prev
next >
Wrap
Text File
|
1996-08-20
|
1KB
|
35 lines
global filesep
on startmovie
if the machinetype = 256 then set filesep = "\"
else set filesep = ":"
end startmovie
on buttonscript mWhichSprite
if not the puppet of sprite mWhichSPrite then puppetsprite mWhichSprite, TRUE
put the membernum of sprite mWhichSPrite into tOrigMember
put the number of member (the name of member tOrigMember & "Down" ) into tDownMember
set the membernum of sprite mWhichSprite = member tDownMember
updatestage
repeat while the mousedown
put the mousecast into tRollMember
if tRollMember = tDownMember or tRollMember = tOrigMember then
set the membernum of sprite mWhichSPrite = tDownMember
updatestage
else
set the membernum of sprite mWhichSPrite = tOrigMember
updatestage
end if
end repeat
set the membernum of sprite mWhichSPrite = tOrigMember
updatestage
end buttonscript
on playsoundeffect whatfolder, whatsound
sound playfile 1, the pathname & whatfolder & filesep & whatsound
end playsoundeffect